package com.hnas.ecard.orm;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.hnas.core.orm.BaseEntity;

/**
 * 卡操作日志
 * 
 * @author
 *
 */
@Entity
@Table(name = "tbl_card_opt_log")
public class CardOptLog extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "id", length=32)
	private String id; // 主键id
	
	@Column(name = "acc_id", length=32)
	private String accId; // 账户id
	
	@Column(name = "card_no", length=25)
	private String cardNo; // 卡号
	
	@Column(name = "business_type", length=3)
	private String businessType; // 业务类型
	
	@Column(name = "business_status", length=2)
	private String businessStatus; // 业务状态
	
	@Column(name = "req_param", columnDefinition = "longtext")
	private String reqParam; // 请求参数
	
	@Column(name = "return_param", columnDefinition = "longtext")
	private String returnParam; // 返回参数
	
	@Column(name = "return_result", columnDefinition = "longtext")
	private String returnResult; // 返回结果
	
	@Column(name = "deal_msg", columnDefinition = "longtext")
	private String dealMsg; // 调用信息
	
	@Column(name = "deal_status")
	private Integer dealStatus; // 调用结果 0  成功  1 失败 
	
	@Column(name = "batch_num", length=32)
	private String batchNum; // 批次号
	
	private String remark; // 备注

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAccId() {
		return accId;
	}

	public void setAccId(String accId) {
		this.accId = accId;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public String getBusinessStatus() {
		return businessStatus;
	}

	public void setBusinessStatus(String businessStatus) {
		this.businessStatus = businessStatus;
	}

	public String getReqParam() {
		return reqParam;
	}

	public void setReqParam(String reqParam) {
		this.reqParam = reqParam;
	}

	public String getReturnParam() {
		return returnParam;
	}

	public void setReturnParam(String returnParam) {
		this.returnParam = returnParam;
	}

	public String getReturnResult() {
		return returnResult;
	}

	public void setReturnResult(String returnResult) {
		this.returnResult = returnResult;
	}

	public String getDealMsg() {
		return dealMsg;
	}

	public void setDealMsg(String dealMsg) {
		this.dealMsg = dealMsg;
	}

	public Integer getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(Integer dealStatus) {
		this.dealStatus = dealStatus;
	}

	public String getBatchNum() {
		return batchNum;
	}

	public void setBatchNum(String batchNum) {
		this.batchNum = batchNum;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
